package com.example.module_audio_edit.base;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class BaseViewModel extends ViewModel {
    //类型
    private final MutableLiveData<Integer> currentType = new MutableLiveData<>();

    public MutableLiveData<Integer> getCurrentType() {
        return currentType;
    }

    public void setCurrentType(int val) {
        currentType.setValue(val);
    }
}
